package org.jeecg.modules.product.job.guardian.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.v3.oas.annotations.media.Schema;
import org.jeecg.common.aspect.annotation.Dict;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import java.util.Date;

import java.io.UnsupportedEncodingException;

/**
 * @Description: 企业内监护人证书
 * @Author: jeecg-boot
 * @Date:   2024-06-19
 * @Version: V1.0
 */
@Data
@TableName("tb_job_guardian_certificate")
@Schema(description="企业内监护人证书")
public class TbJobGuardianCertificate implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @Schema(description = "主键")
    private String id;
	/**创建人*/
    @Schema(description = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "创建日期")
    private Date createTime;
	/**更新人*/
    @Schema(description = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @Schema(description = "所属部门")
    private String sysOrgCode;
	/**证书编号*/
	@Excel(name = "证书编号", width = 15)
    @Schema(description = "证书编号")
    private String code;
	/**证书名称*/
	@Excel(name = "证书名称", width = 15)
    @Dict(dicCode = "certificateType")
    @Schema(description = "证书名称")
    private String certificateType;
	/**发证机关*/
	@Excel(name = "发证机关", width = 15)
    @Schema(description = "发证机关")
    private String issuingAuthority;
	/**登记种类*/
	@Excel(name = "登记种类", width = 15)
    @Dict(dicCode = "registrationType")
    @Schema(description = "登记种类")
    private String registrationType;
	/**发证/复审/换证日期*/
	@Excel(name = "发证/复审/换证日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @Schema(description = "发证/复审/换证日期")
    private Date issueDate;
	/**下次复审/换证周期*/
	@Excel(name = "下次复审/换证周期", width = 15)
    @Schema(description = "下次复审/换证周期")
    private Integer cycle;
	/**下次复审/换证日期*/
	@Excel(name = "下次复审/换证日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @Schema(description = "下次复审/换证日期")
    private Date renewalDate;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @Schema(description = "备注")
    private String remark;
	/**附件*/
	@Excel(name = "附件", width = 15)
    @Schema(description = "附件")
    private String attachments;
	/**监护人id*/
    @Schema(description = "监护人id")
    private String jobGuardianId;
}
